<template>
    <div>
        <h1 style="margin: 15px 0;font-size: 16px">附件管理</h1>

        <attachment-management ref="uploadAttachments"></attachment-management>
    </div>
</template>

<script>
import baseTable from '@/components/base/baseTable'
import basePage from '@/components/base/basePage'
import baseDialog from '@/components/base/BaseNewDialog/index.vue'
import BaseUpfile from '@/components/base/baseUpfile/index.vue'
import { AttachmentsUploadFiles } from '@/api/apis/fileManagement'
import attachmentManagement from "./attachmentManagement.vue";

export default {
    name: 'attachmentDetails',
    components: {
        baseTable,
        basePage,
        baseDialog,
        BaseUpfile, attachmentManagement
    },
    data() {
        return {
            tableHeight: '25vh',
            tableData: [],
            dialogVisible: false,
            tabLoading: false,
            tableColumn: [
                {
                    label: '文件名',
                    prop: 'name',
                    tooltip: true,
                    width: '150',
                },
                {
                    label: '上传人',
                    prop: 'content',
                    tooltip: true,
                    width: '120',
                },
                {
                    label: '上传时间',
                    prop: 'days',
                    tooltip: true,
                    width: '150',
                },
                {
                    label: '大小',
                    prop: 'date',
                    tooltip: true,
                },
                {
                    label: '操作',
                    prop: 'number',
                    tooltip: true,
                },
            ],
        }
    },
    methods: {
        // 单元格点击事件
        getCell(row, label) {
        },
        //确定按钮
        handleConfirmClick(a, b, c) {
        },
    },
}
</script>

<style lang="scss" scoped>
.iconButton {
    font-size: 13px;
    padding: 10px 12px;
    color: white;
    margin: 5px 0 5px 5px;
}

.iconButton.add {
    background-color: #5fb878 !important;
}

>>>.el-dialog__body {
    text-align: center;
}
</style>
